package com.hdl.service;

import java.sql.SQLException;
import java.util.List;

import com.hdl.entity.SysRole;

public interface RoleService {
	/**
	 * 通过id查询
	 * @param roleid
	 * @return
	 * @throws SQLException
	 */
	SysRole select(Integer roleid);
	
	List<SysRole> selectByMode()throws SQLException;

}
